package com.sh.service;

import com.sh.util.ResultUtil;
import org.apache.ibatis.annotations.Param;

public interface UserService {

    //登录功能
    ResultUtil login(String username,String password);

    //展示数据
    ResultUtil show(String username);

    //添加用户
    ResultUtil insert(String username,String truename,String password);

    //修改用户
    ResultUtil update(Integer id,String username,String truename);

    //删除用户
    ResultUtil del(Integer id);
}
